﻿<?
// include function files for this application
require_once('/home/domains/uny-con.com/public_html/uny-con_fns.php'); 
if (!session_id()) { session_start(); }

if (!check_valid_user()) {
	// they are not logged in 
	do_html_header('You must be logged in', staysmall, $uny);
	echo 'You are not logged in.<br />';
	do_html_url('login.php', 'Login');
	print_brs(24);
	do_html_footer(news);
	exit;
	}


if ($gmevents = get_gm_events($_SESSION['current_attendee_id'])) {
	print_event_gm_manage_table($gmevents);
} else {
	echo '<p>You are not registered to run any events.</p>';
}

?>